ModifyStrategy
Description
modify the basic information of the baseline check policy.
Request Method
POST
Request Path
/apsara/route/aegis/ModifyStrategy
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
CycleStartTime | BODY | string | No | No sample value for this parameter. | Policy execution start time: 0: indicates execution from 0 to 6 o'clock 6: indicates execution from 6 to 12 o'clock 12: indicates execution from 12 to 18 o'clock 18: indicates execution from 18 to 24 |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
CycleDays | BODY | string | No | No sample value for this parameter. | policy execution cycle. |
RiskSubTypeName | BODY | string | No | No sample value for this parameter. | the name of the sub-risk category included in the baseline check policy. Specify multiple sub-risk category names separated. |
Id | BODY | string | No | No sample value for this parameter. | baseline check policy ID. Description If a null value is passed in, a new baseline check policy is added. |
version | BODY | string | No | 2016-01-01 | version of api |
Name | BODY | string | No | No sample value for this parameter. | baseline check policy name. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | no demo value | request ID. |
StrategyId | integer | no demo value | policy ID. |
Result | struct | no demo value | returns the result information. see the following parameter description for specific sub-items. |
Example
Successful Response example
{
"RequestId":"no demo value",
"StrategyId":"no demo value",
"Result":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}